package frog.lazy.framework.core.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class AreaPojo {
    private Double px;
    private Double py;
    private String name;
    private Integer sort;

    public AreaPojo(Double px, Double py) {
        super();
        this.px = px;
        this.py = py;
    }

    public AreaPojo(Double px, Double py, String name) {
        super();
        this.px = px;
        this.py = py;
        this.name = name;
    }

    @Override
    public String toString() {
        return "Area [px=" + px + ", py=" + py + ", name=" + name + "]";
    }

}
